package com.webull.information.center.carwler.common.json.unit;

import org.apache.commons.lang3.StringUtils;

/**
 * 获取有权限的topNews的clolumnsId
 * 根据clolumnsId 获取概要列表
 */


public class RetrieveTopNewsByColumnID_1 {

    public final static String restUrl = "http://api.trkd.thomsonreuters.com/api/TopNews/TopNews.svc/REST/TopNews_1/RetrieveTopNewsByColumnID_1";

    public static String getRicRequestJson(String columnsId) {
        String request_json = "{\n" +
                "\"RetrieveTopNewsByColumnID_Request_1\": {\n" +
                "\"ColumnId\": \"{0}\"\n" +
                "}\n" +
                "}";
        return StringUtils.replaceOnce(request_json, "{0}", columnsId);
    }

}
